<?php include('_init_.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../css/admin-body.css" rel="stylesheet" type="text/css" />
<link href="../css/admin-keyword.css" rel="stylesheet" type="text/css" />
<title>班尼頓寫真後台管理</title>
</head>

<body>
<?php include_once('admin-top.php');?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>" name="page_form"> 
<input type="hidden" name="act" value="save"/>
<div id="main" class="clearfix"><!-- star #main //-->
  <div id="contactall"><!-- star #main //-->
  <div id="tit" ><!-- star #tit //-->
    <ul>
    <li class="tit-a">帳號管理</li>
    <li class="tit-b"><a href="#save" onclick="document.forms[0].submit();return false;">儲存</a></li>
    </ul>
  </div><!-- end #tit //-->
    <div id="contact2" class="clearfix" ><!-- star #contact2 //-->
  <ul>
  <?php if ( $GLOBALS['error_message']) :?>
  <li style="color:red;font-size:14px;"><?php echo $GLOBALS['error_message'];?></li>
  <?php endif;?>
  
   <?php if ( $GLOBALS['success_message']) :?>
  <li style="color:green;font-size:14px;"><?php echo $GLOBALS['success_message'];?></li>
  <?php endif;?>
  <li class="tit2-1">管理</li>
    <li class="acc-1">舊的帳號：</li>
    <li class="acc-2"><input  type="text" class="acc-2a" name="olduser" placeholder="請輸入您舊的帳號" value="<?php echo $GLOBALS['PAGE_DATA_USER_NAME'];?>" readonly="readonly"/></li>
    <li class="acc-1">舊的密碼：</li>
    <li class="acc-2"><input name="oldpwd" type="password" class="acc-2a" placeholder="請輸入您舊的密碼" />
    </li>
    <li class="acc-1">新的帳號：</li>
    <li class="acc-2"><input  type="text" class="acc-2a" name="newuser" placeholder="請輸入您新的帳號" value="<?php echo $GLOBALS['PAGE_DATA_USER_NAME'];?>"/></li>
    <li class="acc-1">新的密碼：</li>
    <li class="acc-2"><input name="newpwd" type="password" class="acc-2a" placeholder="請輸入新的密碼" />
    </li>
    <li class="acc-1">再次確認：</li>
    <li class="acc-2"><input name="confirmpwd" type="password" class="acc-2a" placeholder="請確認新的密碼" />
    </li>
    </ul>
  
  </div><!-- end #contact2 //-->
  </div><!-- end #contactall //-->
</div><!-- end #main //-->
</form>
</body>
</html>